﻿using System.ComponentModel;
using static DataModels.Enums.GeneralEnum;

namespace DataModels.Enums.AuthCore
{
    public class UserEnum
    {
        public enum UserStatus
        {
            [Description("禁用")]
            Disable = 0,
            [Description("启用")]
            Enable = 1,
            [Description("锁定")]
            Lock = 2,
            [Description("注销")]
            LogOff = 3,
        }
        public enum Gender
        {
            /// <summary>
            /// 未知性别
            /// </summary>
            [Description("未知")]
            Unknown = 0,

            /// <summary>
            /// 男性
            /// </summary>
            [Description("男")]
            Male = 1,

            /// <summary>
            /// 女性
            /// </summary>
            [Description("女")]
            Female = 2,

            /// <summary>
            /// 其他性别
            /// </summary>
            [Description("其他")]
            Other = 3
        }

        /// <summary>
        /// 注册类型和登录类型
        /// </summary>
        public enum RegisterType
        {
            /// <summary>
            /// 未知注册类型
            /// </summary>
            [Description("未知")]
            Unknown = 0,
            /// <summary>
            /// 手机号注册
            /// </summary>
            [Description("手机号注册")]
            Phone = 1,
            /// <summary>
            /// 微信注册
            /// </summary>
            [Description("微信注册")]
            WeChat = 2,
        }
    }
}
